package com.hc.sp07;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

@SpringBootApplication
@EnableHystrixDashboard          //配置Hystrix
//做监控日志
//Hystrix.Dashboard只能监控一个网关
//做网关集群之后，需要一个中间件Turbine，它能拉取多个服务的监控日志
//然后我们监控Turbine就可以了
//需要新建项目 创建Turbine
public class Sp07HystrixApplication {

	public static void main(String[] args) {
		SpringApplication.run(Sp07HystrixApplication.class, args);
	}

}
